<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:h="http://java.sun.com/jsf/html" >

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="/FyxWeb/skin/default/resources/css/default.css" rel="stylesheet" type="text/css" />
        <link href="/FyxWeb/skin/default/resources/css/cssLayout.css" rel="stylesheet" type="text/css" />
        <ui:insert name="head"></ui:insert>
        <title>Facelets Template</title>
    </h:head>

    <h:body>
        <div id="top">
            <ui:insert name="top">
                <h:form id="topForm" >
                    <h:panelGrid columns="7" >
                        <p:commandLink value="Česky" 
                                       action="#{man.setLenguage('cze')}"/>
                        <h:outputText value=" / " />
                        <p:commandLink value="English" 
                                       action="#{man.setLenguage('eng')}"/>
                        <h:outputText value=" / " />
                        <p:commandLink value="Deutchland" 
                                       action="#{man.setLenguage('ger')}"/>
                        <h:outputLink value="#{loginBean.value}" accesskey=""
                                      onclick="#{loginBean.onClick}" title="login">     
                            #{loginBean.text}
                        </h:outputLink>
                    </h:panelGrid>
                    
                    <p:menubar effectDuration="50" autoSubmenuDisplay="false" 
                               model="#{man.menuModel}" />
                    #{man.sendMessages()}
                    <p:messages  id="static_msgs" showDetail="true" />
                </h:form>
            </ui:insert>
        </div>

        <ui:insert name="center">Standardní služby</ui:insert>

        <ui:include src="#{webContext.skinPatch}loginDialog.xhtml" />

        <div id="bottom">
            <ui:insert name="bottom">
                <div id="footer" class="ui-widget ui-widget-header ui-corner-all" style="height: 40px">
                    <p class="copyright" style="float: left;">©  2011 <a href="#{webContext.baseUrl}">Fyx Technology</a>.</p>
                    <p style="float:right">Running Fyx #{man.version}</p>
                </div>

            </ui:insert>
        </div>
    </h:body>

</html>
